package request

import (
	"counter-help/admin/server/model/common/request"
)

type OrderListSearch struct {
	Type int `form:"type" json:"type" comment:"1 查询匹配成功， 2 查询未成功匹配 3 查询订单完成"`
	request.PageInfo
}

type UpdateUnFinishOrderReq struct {
	OrderId int `form:"orderId" json:"orderId"`
	UserId  int `form:"userId" json:"userId"`
	Price   int `form:"price" json:"price"`
}

type UpdateFinishOrderResp struct {
	Type    int    `form:"type" json:"type"`
	OrderId int    `form:"orderId" json:"orderId"`
	Phone   string `form:"phone" json:"phone"`
}

type AfterSalesOrderResp struct {
	OrderId int `form:"orderId" json:"orderId"`
	Price   int `form:"price" json:"price"`
}

type CreateAfterSalesOrderResp struct {
	OrderId int `form:"orderId" json:"orderId"`
	Status  int `form:"status" json:"status"`
}

type AddPriceReq struct {
	Money   float64 `form:"money" json:"money"`
	OrderId int     `form:"orderId" json:"orderId"`
}

type SubPriceReq struct {
	Money   float64 `form:"money" json:"money"`
	OrderId int     `form:"orderId" json:"orderId"`
}
